<?php

namespace app\model\v1\recruit;

use crmeb\traits\ModelTrait;
use think\Model;

class RecruitCollection extends Model
{

    use ModelTrait;

    protected $updateTime = false;
    protected $createTime = false;

    protected $hidden = [
    //    'create_time','update_time','delete_time'
    ];


    public function recruitjobseeker ()
    {
        return $this->hasOne ('recruit_job_seeker','id','job_id');
    }
    public function job ()
    {
        return $this->hasOne ('recruit_job','id','job_id');

    }
}